import { FILTER_ACTIVE } from "../constans/filter";

export const filterActive = (active) => {
  return (dispatch) => {
    setTimeout(() => {
      dispatch({
        type: FILTER_ACTIVE,
        active
      })
    }, 2000)
  }

}